package library.pojo;

public class Book {
	private String isbn;           //isbn号
	private String bookName;       //书名
	private String author;         //作者
	private String publicationYear;//出版年份
	private String bookTypeIdx;    //图书分类序号
	private String state;		   //图书状态
	
	public Book(String isbn, String bookName, String author, String publicationYear, String bookTypeIdx, String state) {
		super();
		this.isbn = isbn;
		this.bookName = bookName;
		this.author = author;
		this.publicationYear = publicationYear;
		this.bookTypeIdx = bookTypeIdx;
		this.state = state;
	}
	
	public String getIsbn() {
		return isbn;
	}
	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getPublicationYear() {
		return publicationYear;
	}
	public void setPublicationYear(String publicationYear) {
		this.publicationYear = publicationYear;
	}
	public String getBookTypeIdx() {
		return bookTypeIdx;
	}
	public void setBookTypeIdx(String bookTypeIdx) {
		this.bookTypeIdx = bookTypeIdx;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Book [isbn=" + isbn + ", bookName=" + bookName + ", author=" + author + ", publicationYear="
				+ publicationYear + ", bookTypeIdx=" + bookTypeIdx + ", state=" + state + "]";
	}
	
	
}
